home *** CD-ROM | disk | FTP | other *** search
/ Champak 146 / (Vol 146) Jan 07 2012.iso / Games / web_spinner_s_dinner.swf / scripts / DefineButton2_77 / BUTTONCONDACTION on(press, keyPress Space).as
Text File  |  2012-01-07  |  1KB  |  61 lines

  1. on(press, keyPress "<Space>"){
  2.    var ┬º\x01┬º = 710;
  3.    while(true)
  4.    {
  5.       if(eval("\x01") == 710)
  6.       {
  7.          set("\x01",eval("\x01") - 451);
  8.          ┬º┬ºpush(true);
  9.       }
  10.       else
  11.       {
  12.          if(eval("\x01") == 637)
  13.          {
  14.             set("\x01",eval("\x01") - 408);
  15.             _root.SFX.gotoAndPlay("Click");
  16.             _root.funcHITBOX("play_activity","play_from_instructions");
  17.             gotoAndStop("Start");
  18.             play();
  19.             break;
  20.          }
  21.          if(eval("\x01") == 259)
  22.          {
  23.             set("\x01",eval("\x01") + 210);
  24.             if(┬º┬ºpop())
  25.             {
  26.                set("\x01",eval("\x01") + 68);
  27.             }
  28.          }
  29.          else if(eval("\x01") == 223)
  30.          {
  31.             set("\x01",eval("\x01") + 414);
  32.          }
  33.          else
  34.          {
  35.             if(eval("\x01") == 469)
  36.             {
  37.                set("\x01",eval("\x01") + 68);
  38.                break;
  39.             }
  40.             if(eval("\x01") == 537)
  41.             {
  42.                set("\x01",eval("\x01") - 314);
  43.             }
  44.             else
  45.             {
  46.                if(eval("\x01") == 229)
  47.                {
  48.                   set("\x01",eval("\x01") - 229);
  49.                   break;
  50.                }
  51.                if(eval("\x01") != 610)
  52.                {
  53.                   break;
  54.                }
  55.                set("\x01",eval("\x01") - 387);
  56.             }
  57.          }
  58.       }
  59.    }
  60. }
  61.